#ifndef TCPServer_h
#define TCPServer_h

#include "network.h"


class CTCPInfo
{
public:
    CTCPInfo(int socket) : m_nClientSocket(socket){};
    int m_nClientSocket;
    char m_szIP[512];
    int m_nPort;
};

// ZPL 服务
class CTCPServer : public CNetwork
{
public:
    CTCPServer();

    virtual ~CTCPServer();

    bool Init() override;

    bool Run() override;
public:
};

#endif // TCPServer_h